package com.mindskip.xzs.viewmodel.student.exam;


import com.mindskip.xzs.domain.User;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class ExamPaperSubmitVM {

    @NotNull
    private Integer id;
    private Integer examId;
    @NotNull
    private Integer doTime;

    private String score;

    /**
     * 用于自动生成试卷
     */
    private User user;

    @NotNull
    @Valid
    private List<ExamPaperSubmitItemVM> answerItems;
}
